package net.gdface.service.cassdk;

import java.util.ArrayList;
import java.util.Arrays;

import net.gdface.cassdk.FaceApiCas;
import net.gdface.service.sdk.FaceApiServiceConstants;
import net.gdface.service.sdk.FaceApiServiceMain;

/**
 * 启动 FaceApi thrift 服务
 * @author guyadong
 *
 */
public class Main implements FaceApiServiceConstants{
	public Main() {
	}
	public static void main(String ...args){
		ArrayList<String> arglist = new ArrayList<String>(Arrays.asList(args));
		arglist.add("--" + FACEAPI_CLASS_OPTION_LONG);
		arglist.add(FaceApiCas.class.getName());
		FaceApiServiceMain.main(arglist.toArray(new String[arglist.size()]));
	}
	
}
